import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { LoadingBallPulsebComponent } from '../../components/common/loading/loading-ball-pulseb/loading-ball-pulseb.component';
import { ClueSourcePipe } from '../../pipe/clueSource/clueSource.pipe';
import {clueDepartPipe} from '../../../@theme/pipe/clueDepart/clueDepart.pipe'
import {ClueStatusPipe} from'../../../@theme/pipe/clueStatus/clueStatus.pipe';
import {CaseStatusPipe} from'../../../@theme/pipe/caseStatus/caseStatus.pipe';

import { CasereviewComponent } from '../../components/home/casereview/casereview.component';
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
import {NzCheckboxModule, NzDropDownModule,NzSpinModule, NzDatePickerModule, NzSelectModule, NzIconModule, NzRadioModule, NzCascaderModule, NzTreeSelectModule,NzMessageModule } from 'ng-zorro-antd';
import { NgbDropdownModule } from '@ng-bootstrap/ng-bootstrap';
import { NzUploadModule } from 'ng-zorro-antd/upload';
import { NzModalModule } from 'ng-zorro-antd/modal';
import { NzButtonModule } from 'ng-zorro-antd/button';
import {NzToolTipModule} from 'ng-zorro-antd/tooltip';
import { LoadingService } from '../loading.service';
import { BtnPermissDirective } from './../../../@core/auth/btn-permiss.directive';
import { TooltipDirective } from '../../../@theme/directives/tooltip.directive';
import { NzCollapseModule } from 'ng-zorro-antd/collapse';
// import { MessagerModule } from 'ng-easyui/components/messager/messager.module';
import { EasyUIModule } from 'ng-easyui'
// import { PdfViewerModule } from 'ng2-pdf-viewer';
@NgModule({
  declarations: [
    LoadingBallPulsebComponent, 
    ClueSourcePipe,
    clueDepartPipe, 
    ClueStatusPipe,
    CaseStatusPipe,
    CasereviewComponent, 
    BtnPermissDirective,
    TooltipDirective
  ],
  imports: [ 
  CommonModule, 
    FormsModule,
    ReactiveFormsModule,
    NzDropDownModule,
    NgbDropdownModule,
    NzDatePickerModule,
    NzSelectModule,
    NzIconModule, 
    NzRadioModule,
    NzCascaderModule,
    NzTreeSelectModule,
    NzUploadModule,
    NzModalModule,
    NzButtonModule,
    NzSpinModule,
    NzMessageModule,
    NzCheckboxModule,
    NzToolTipModule,
    NzCollapseModule,
    EasyUIModule
    // PdfViewerModule
  ],
  exports:[
    CommonModule,
    FormsModule,
    ReactiveFormsModule, 
    NzDropDownModule,
    NgbDropdownModule,
    NzDatePickerModule,
    NzSelectModule,
    NzIconModule, 
    NzRadioModule,
    NzCascaderModule,
    NzTreeSelectModule,
    LoadingBallPulsebComponent,
    ClueSourcePipe,
    ClueStatusPipe,
    clueDepartPipe,
    clueDepartPipe,
    ClueStatusPipe,
    CaseStatusPipe,
    CasereviewComponent,
    NzUploadModule, 
    NzModalModule,
    NzButtonModule,
    BtnPermissDirective,
    NzSpinModule,
    NzMessageModule,
    NzCheckboxModule,
    NzToolTipModule,
    TooltipDirective,
    NzCollapseModule,
    EasyUIModule
    // PdfViewerModule
    ], ////这里将共享的组件放入到导出的出口中 
  providers:[LoadingService]
})
export class CommonMouleModule { } 
